﻿using _8Group.MES.ISongService.MdItemType.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
//shz
namespace _8Group.MES.ISongService.MdItemType
{
    public interface IMdItemTypeService : IApplicationService
    {
        /// <summary>
        /// 获取物料产品分类列表
        /// </summary>
        /// <returns></returns>
        Task<object> GetMdItemTypeListAsync(RequestMdItemTypeDTO requestMd );

        /// <summary>
        /// 新增物料产品分类
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<int> AddMdItemTypeAsync(AddMdItemTypeDTO input);

        /// <summary>
        /// 更新 物料产品分类
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<bool> UpdateMdItemTypeAsync(UpdMdItemTypeDTO input);

        /// <summary>
        /// 删除物料产品分类
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<bool> DeleteMdItemTypeAsync(int id);
    }
}
